﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace zp.mk.FileTester
{
    public static class FileTester
    {
        public static Boolean exist(string path)
        {
            return File.Exists(path);
        }

        public static List<String> getLinesList(string path)
        {
            if(!exist(path))
            {
                return null;
            }
            
            List<string> lines = new List<string>();
            StreamReader sr = new StreamReader(path);

            lines.Add(sr.ReadLine());

            return lines;
        }

        public static List<String> getLinesList(StreamReader FileStream)
        {
            return null;
        }
    }
}
